// Counter_NI_6608.h: interface for the CVI_DCPower_Chroma_52914 class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_VI_DCPOWER_CHROMA_52914_H__0ED60FB7_AFE2_47B0_9752_7D544BFB6808__INCLUDED_)
#define AFX_VI_DCPOWER_CHROMA_52914_H__0ED60FB7_AFE2_47B0_9752_7D544BFB6808__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SignalReceiver.h"
//#include <NIDAQmx.h>
#include <string>

class CSCOPE_ZT_450  : public ISignalReceiver 
{
public:
	CSCOPE_ZT_450();
	virtual ~CSCOPE_ZT_450();
	virtual double __stdcall AcquireMeasurementValue(std::string &ItemName,std::string& SignalType,
			float PromiseValue,std::string &Channel,COMMSG* errorMsg = NULL);
	// IUnknown member function
	virtual HRESULT __stdcall QueryInterface(const IID& iid, void **ppv) ;
	virtual ULONG	__stdcall AddRef() ; 
	virtual ULONG	__stdcall Release() ;

private:
	INT m_MeasMode;
	double m_Range;
	char   m_ResourceName[256];
	char vi[100];
	unsigned int  taskHandle;
	int	  m_Ref ;
	char   m_ErrMsg[2048];
};

#endif // !defined(AFX_VI_DCPOWER_CHROMA_52914_H__0ED60FB7_AFE2_47B0_9752_7D544BFB6808__INCLUDED_)
